package com.dews.course.domain.ro;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;


/**
 * 学生课程成绩对象 dews_student_score
 *
 * @author qingfeng
 * @date 2025-01-21
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
@HeadStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.LEFT)
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class StudentScoreRo {

    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "学生姓名", index = 0)
    private String studentName;

    @ExcelProperty(value = "学号", index = 1)
    private String studentNo;

//    @ExcelProperty(value = "学院", index = 2)
//    private String depName;
//
//    @ExcelProperty(value = "专业", index = 3)
//    private String subjectName;
//
//    @ExcelProperty(value = "专业代码", index = 4)
//    private String subjectCode;

    @ExcelProperty(value = "专业课程代码", index = 2)
    private String courseCode;

    @ExcelProperty(value = "专业课程名称", index = 3)
    private String courseName;

    @ExcelProperty(value = "教师编号", index = 4)
    private Long teacherId;

    @ExcelProperty(value = "学期", index = 5)
    private String semester;

    @ExcelProperty(value = "成绩", index = 6)
    private Double score;
}
